﻿using B.S.Medical.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Medical.Domain.Medical
{
    /// <summary>
    /// 患者余额表
    /// </summary>
    public class PatientBalance : BaseEntity
    {
        /// <summary>
        /// 患者ID，唯一
        /// </summary>
        public int PatientId { get; set; }
        
        /// <summary>
        /// 总金额(余额)
        /// </summary>
        public decimal Balance { get; set; }
        
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        
        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime? LastUpdatedTime { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
}
